package edu.wtbu.cs.androiddemo.event;

import android.content.Context;
import android.view.View;
import android.widget.Toast;



public class OuterClassClickListener implements View.OnClickListener {

    private String msg;

    private  Context context;

    public OuterClassClickListener(String msg,Context context) {
        this.msg = msg;
        this.context=context;
    }

    @Override
    public void onClick(View v) {
        Toast.makeText(context,msg,Toast.LENGTH_LONG).show();
    }
}
